package com.fram.service.api.v1;

import java.util.List;

import com.fram.bean.api.integral.response.SuccessSignInResponse;
import com.fram.bean.api.user.response.SignInResponse;
import com.fram.common.exception.ProException;
import com.fram.entity.IntegralRule;
import com.fram.entity.IntegralSignIn;

/** api签到 **/
public interface IntegralService {

	/** 签到 **/
	public SuccessSignInResponse add(IntegralSignIn record) throws ProException;

	/** 个人 签到积分查询日期 **/
	public List<SignInResponse> listDate(Long userId, String date) throws ProException;

	/** 积分和 要从记录 查询 （签到积分和 购买积分和 等） **/
	public IntegralRule listIntegral(String ruleKey) throws ProException;
}
